package com.by.course.serivce;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.extension.service.IService;
import com.by.course.entity.base.BaseResult;
import com.by.course.entity.bo.BaseAppointment;
import com.by.course.entity.bo.BaseCourse;
import com.by.course.entity.bo.BaseSchedule;
import com.by.course.entity.vo.appointment.req.AddBaseAppointmentVO;
import com.by.course.entity.vo.appointment.req.GetBaseAppointmentVO;
import com.by.course.entity.vo.appointment.req.UpdateBaseAppointmentVO;
import com.by.course.entity.vo.appointment.resp.BaseAppointmentResultVO;
import com.by.course.enums.ErrEnum;
import com.by.course.execption.BusinessException;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

public interface BaseAppointmentService extends IService<BaseAppointment> {

    public BaseResult<String> createAppointment(AddBaseAppointmentVO vo);

    public BaseResult<List<BaseAppointmentResultVO>> getAppointmentByUserId(GetBaseAppointmentVO vo);

    public BaseResult<String> updateAppointment(List<UpdateBaseAppointmentVO> vo);
}
